﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace Travel.Web.route_image
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					Guid id=new Guid(strid);
					ShowInfo(id);
				}
			}
		}
		
	private void ShowInfo(Guid id)
	{
		Travel.BLL.route_image bll=new Travel.BLL.route_image();
		Travel.Model.route_image model=bll.GetModel(id);
		this.lblid.Text=model.id.ToString();
		this.lblroute_id.Text=model.route_id.ToString();
		this.lblname.Text=model.name;
		this.lblserial_no.Text=model.serial_no.ToString();
		this.lblurl.Text=model.url;
		this.lblcreated_on.Text=model.created_on.ToString();
		this.lblcreated_by.Text=model.created_by;
		this.lblchanged_on.Text=model.changed_on.ToString();
		this.lblchanged_by.Text=model.changed_by;

	}


    }
}
